package com.example.rk.service;

import com.example.rk.common.MyPageInfo;
import com.example.rk.entity.Changest;
import com.example.rk.entity.Choice;
import com.example.rk.entity.Contract;
import com.example.rk.entity.Reply;

import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

public interface ChoiceService {


    String doAdd(Choice choice);

    MyPageInfo findBySearch(HttpServletRequest request);

    void deleteById(int id);

    MyPageInfo findBySearch1(HttpServletRequest request, int id);

    Reply findById(int id);

    void deleteById1(int id);

    MyPageInfo findBySearch2(HttpServletRequest request, String type, int id);

    Choice findById1(int id);

    String doEdit(Reply reply);

    MyPageInfo findBySearch3(HttpServletRequest request);

    MyPageInfo findBySearch4(HttpServletRequest request);

   void findByIdty(int id);

    Changest findByIdtp(int id);

    void deleteById2(int id);

    int find(int id);

    String jy(Contract contract);

    void jydeleteById(int id);

    void jyfindById(int cid);

    int jyfind(int id);

    String findname(int id);

    void setname(String name,int id);

    int fingcid(int id);

}
